package com.example.security_demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 了解逻辑
 *
 * @author zzh
 * @date 2022/5/21
 * @since 1.0
 */
@RestController
public class IndexController {

    @GetMapping({"", "/index", "/index.html"})
    public String indexPage() {

        return "index.html";
    }
}
